package com.dawn.helloworld.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HomeController {
    @RequestMapping("/")
    String home() {
        return "<div style='margin: 50px auto;box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);width: 60%; border-bottom: 3px solid #e8e8e8;'>" +
                    "<h2 style='color: #ff00ff;text-align: center;'>这个页面看起来没啥用，实际上确实没啥用。</h2>" +
                    "<h2 style='color: #ff8000;text-align: center;'>早上好罐头先生,我们和海绵宝宝一起去抓水母吧。</h2>" +
                    "<h2 style='color: green;text-align: center;'>凡事全力以赴，总会有成功的时候。 --- devops by &copy;chuang</h2>" +
                "</div>" +
                "<div style='display: flex;justify-content: center;align-items: center;height: 100px;'>" +
                    "<h1 style='color: #FF2929;'>Deploy Application To Kubernetes or Docker is succeed!</h1>" +
                "</div>";
    }
}